* {
    font-size: 14px;
}

.container {
    width: 100%;
    height: fit-content;
    background-color: #fff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.header .title-wrapper {
    display: flex;
    align-items: center;
}

.header .title-wrapper .icon {
    width: 25px;
    height: 25px;
}

.header .title-wrapper .title {
    font-size: 16px;
    font-weight: 500;
    margin-left: 10px;
}

.header .action-wrapper {
    display: flex;
    align-items: center;
}

.header .action-wrapper .action {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header .action-wrapper .ai-analyze .icon {
    width: 20px;
    height: 20px;
    margin-right: 7px;
}

.header .action-wrapper .close .icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

.content {
    padding: 15px;
}

.content .message-wrapper {
    display: flex;
    align-items: center;
}

.content .message-wrapper .input-wrapper {
    flex: 1;
    position: relative;
    height: 35px;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 5px;
}

.content .message-wrapper .input-wrapper input {
    flex: 1;
    height: 35px;
    border: 0;
}

.content .message-wrapper .input-wrapper input:focus {
    outline: none;
}

.content .message-wrapper .input-wrapper .icon {
    width: 17px;
    height: 17px;
    margin-right: 10px;
    cursor: pointer;
}

.content .message-wrapper .enter-button {
    margin-left: 10px;
    cursor: pointer;
    border: 1px solid #bda7f1;
    border-radius: 3px;
    position: relative;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content .message-wrapper .enter-button .icon {
    width: 17px;
    height: 17px;
}

.content .result-wrapper {
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    background-color: #f9f9f9;
    padding: 5px;
    margin-bottom: 20px;
    overflow-y: auto;
    max-height: 90px;
}

.content .result-wrapper .result {
    color: #000;
    flex: 1;
    min-height: 25px;
}

.content .result-wrapper .loading-wrapper {
    display: flex;
    align-items: center;
    color: #757575;
}

.content .result-wrapper .loading-wrapper .loading {
    margin-right: 5px;
}

.content .result-wrapper .icon {
    width: 17px;
    height: 17px;
    cursor: pointer;
    margin-left: 10px;
}

.content .action-wrapper {
    display: flex;
    margin-bottom: 20px;
}

.content .action-wrapper .btn {
    cursor: pointer;
    width: 90px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    margin-right: 15px;
    color: #000;
}

.content .action-wrapper .btn:hover {
    background-color: #f3ecff;
}

.content .action-wrapper .btn.active {
    background: #6e3fc6;
    color: #fff;
}

.content .action-wrapper .btn.active.disabled {
    background: #ba9de6;
    color: #ddcef3;
}

.content .action-wrapper .disabled {
    color: #b5b5b5;
    cursor: not-allowed;
}

.loading {
    width: 10px;
    height: 10px;
    border: 1px solid #757575;
    border-top-color: transparent;
    border-radius: 100%;

    animation: circle infinite 0.75s linear;
}

.popover-wrapper {
    position: absolute;
    width: 300px;
    height: 600px;
    bottom: 0;
    background-color: aqua;
}

.selected-text-wrapper {
    margin-bottom: 10px;
    max-height: 100px;
    overflow-y: auto;
}

.selected-text-wrapper .title {
    font-weight: bold;
}

.selected-text-wrapper .text-wrapper {
    display: flex;
    justify-content: space-between;
}

.selected-text-wrapper .text-wrapper .text {
    flex: 1;
    width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selected-text-wrapper .text-wrapper .action {
    margin-left: 10px;
    display: flex;
}

.selected-text-wrapper .text-wrapper .action .more {
    cursor: pointer;
    width: 20px;
}

#kloud_input::placeholder {
    color: #999;
}

#kloud_input:focus::placeholder {
    color: transparent !important;
}

/* .content .action-wrapper .btn {
    width: 90px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    margin-right: 15px;
    color: #000;
        }
    }
} */

@keyframes circle {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}